From f5b0692cfc90423492d2b57d796b329e4739573c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Wed, 18 Oct 2017 10:39:44 +0200 Subject: [PATCH] widget: Remove outdated comment on get_allocation The allocation passed to gtk_widget_size_allocate can be retrieved these days, using gtk_widget_get_allocated_size. --- gtk/gtkwidget.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 5a63174f7a..3637712a1f 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -13167,9 +13167,6 @@ gtk_widget_get_allocated_size (GtkWidget *widget, * gtk_widget_size_allocate() allocation, however. So a #GtkContainer * is guaranteed that its children stay inside the assigned bounds, * but not that they have exactly the bounds the container assigned. - * There is no way to get the original allocation assigned by - * gtk_widget_size_allocate(), since it isn’t stored; if a container - * implementation needs that information it will have to track it itself. * * Since: 2.18 */ -- 2.30.2